package test;

import org.junit.Test;

public class Demo {
	
	public static void main(String[] args) {
		String str = "abc";
		System.out.println(str.charAt(0));
		System.out.println(str.charAt(1));
		System.out.println(str.charAt(2));
		System.out.println(str.charAt(3));
	}
	
	@Test
	public void test1() {
		String str = "abc";
		System.out.println(str.charAt(0));
		System.out.println(str.charAt(1));
		System.out.println(str.charAt(2));
		System.out.println(str.charAt(3));
	}
	
	@Test
	public void test3() throws ClassNotFoundException {
		try {
			Class.forName("com.mysql.jdbc.Driver");
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} finally {
			
		}
		
		Class.forName("com.mysql.jdbc.Driver");
	}

}
